﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Company_view_worklog.aspx.cs"
    Inherits="TRPOP.CRM.Web.Company_view_worklog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>查看客户信息</title>
    <script src="../Scripts/CheckInputInfo.js" type="text/javascript"></script>
    <script src="../Scripts/showtab.js" type="text/javascript"></script>
    <script src="../Scripts/utils.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../Scripts/iColorPicker.js" type="text/javascript"></script>
    <style type="text/css">
        #dvImg
        {
            filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);
            width: 125px;
            height: 125px;
            border: solid 1px #a4c9e2;
            float: left;
        }
    </style>
</head>
<body>
    <form id="formEdit" runat="server">
    <div class="welcomBox">
        <div class=" welcomCont listPadding">
            <p class=" mb5 c_grey postion">
                您的当前位置：<a href="../welcome.aspx" title="首页">首页</a> > <a href="Company_AllList.aspx"
                    title="信息管理">客户 信息管理</a> > <span title="信息">信息</span></p>
            <h4 class="f14 listTits">
                <a href="#" class="js_on" id="Tab1" title="客户信息" runat="server">客户信息</a>
            </h4>
            <div class="listCon" style="padding-top: 5px;">
                <table width="900" border="0" class="f14 tableForm">
                    <tr>
                        <td class="tr pr10">
                            <span>客户名称：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCompanyName" CssClass="nameIpt" runat="server" Width="230px"
                                MaxLength="16" Height="19px"></asp:TextBox>
                            <span>地址：</span>
                            <asp:TextBox ID="txtRegisterAdress" CssClass="nameIpt" runat="server" Width="230px"
                                MaxLength="100" Height="19px" Enabled="false"></asp:TextBox>
                            <asp:DropDownList ID="ddlCountry" CssClass="searchddl" runat="server" Visible="false">
                                <asp:ListItem>中国</asp:ListItem>
                            </asp:DropDownList>
                            <select id="DDLProvince" class="searchddl" runat="server" visible="false" />
                            <select id="DDLCity" class="searchddl" runat="server" visible="false" />
                            <asp:HiddenField ID="txtProvince" Value="全国" runat="server" Visible="false" />
                            <asp:HiddenField ID="txtCity" Value="所有地区" runat="server" Visible="false" />
                            <asp:TextBox ID="txtCountry" Text="中国" runat="server" Visible="false" MaxLength="45"
                                Width="200px" CssClass="nameIpt"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tr pr10">
                            <span>联系人：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtContactName" CssClass="nameIpt" runat="server" Width="135px"
                                MaxLength="16" Height="19px"></asp:TextBox>
                            <font style="color: Red">*</font>
                            <asp:RadioButtonList ID="rbtnlstGender" runat="server" RepeatDirection="Horizontal"
                                Height="16px" Width="95px" RepeatLayout="Flow">
                                <asp:ListItem Selected="True" Text="先生" Value="1"></asp:ListItem>
                                <asp:ListItem Text="女士" Value="0"></asp:ListItem>
                            </asp:RadioButtonList>
                            <span>电话：</span>
                            <asp:TextBox ID="txtContactPhone" runat="server" CssClass="nameIpt" MaxLength="15"
                                Width="135px" Enabled="false"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tr pr10">
                            <span>客户状态：</span>
                        </td>
                        <td class="style1">
                            <asp:DropDownList ID="ddlCompanyStatus" CssClass="searchddl" runat="server" Height="19px"
                                Width="135px" Enabled="false">
                            </asp:DropDownList>
                            <span>来源：</span>
                            <asp:DropDownList ID="ddlCompanySource" CssClass="searchddl" runat="server" Height="19px"
                                Width="135px" Enabled="false">
                            </asp:DropDownList>
                            <span>类型：</span>
                            <asp:DropDownList ID="ddlCompanyCategory" CssClass="searchddl" runat="server" Height="19px"
                                Width="135px" Enabled="false">
                            </asp:DropDownList>
                            <span>等级：</span>
                            <asp:DropDownList ID="ddlCompanyGrade" CssClass="searchddl" runat="server" Height="19px"
                                Width="135px" Enabled="false">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr style="display: none;">
                        <td class="tr pr10">
                            <span>描述：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" MaxLength="500"
                                Height="50" BorderColor="#7F9DB9" BorderWidth="1" Width="98%"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
            <h4 class="f14 listTits" style="margin-top: 5px;">
                <a href="#" class="js_on" id="A1" title="客户跟进历史" runat="server">客户跟进历史</a>
            </h4>
            <div class="listCon listCon_padding">
                <table width="100%" border="0" class="tableBox">
                    <thead>
                        <tr class="f12 tableTit">
                            <th width="10%" class="tc fb br1ce">
                                跟进员工
                            </th>
                            <th width="20%" class="tc fb br1ce">
                                跟进时间及情况
                            </th>
                            <th width="20%" class="tc fb br1ce">
                                成交情况:型号/总价格/数量
                            </th>
                            <th class="tc fb br1ce">
                                说明
                            </th>
                        </tr>
                    </thead>
                    <tbody id="tab">
                        <asp:Repeater runat="server" ID="rptList">
                            <ItemTemplate>
                                <tr class="f12">
                                    <td class="tc">
                                        <%#Eval("nvcEmployeeName")%>
                                    </td>
                                    <td class="tc">
                                        <%#Convert.ToDateTime(Eval("dtCreationTime")).ToString("MM-dd HH:mm")%>:
                                        <%#Eval("nvcFollowUpCategoryName")%>
                                    </td>
                                    <td class="tc">
                                        <%#string.IsNullOrEmpty(Eval("nvcExtention1").ToString()) ? "无" : Eval("nvcExtention1").ToString() + "/" + Eval("nvcExtention2").ToString() + "/" + Eval("nvcExtention3").ToString()%>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("nvcDiscription")%>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td colspan="4" align="center">
                                <input type="button" class=" canelBtn" value="返回" onclick="history.go(-1);" />
                            </td>
                        </tr>
                    </tfoot>
                </table>
            </div>
        </div>
    </div>
    <table width="100%" border="0" class="f14 tableForm hidden">
        <tr>
            <td width="20%" class="tr pr10">
                <span>联系人地址：</span>
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtContactAddress" CssClass="nameIpt" runat="server" Width="200px"
                    MaxLength="100" Height="19px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="20%" class="tr pr10">
                <span>联系人手机：</span>
            </td>
            <td>
                <asp:TextBox ID="txtContactTel" runat="server" CssClass="nameIpt" MaxLength="15"
                    Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="20%" class="tr pr10">
                <span>Fax：</span>
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtFax" runat="server" CssClass="nameIpt" MaxLength="45" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="20%" class="tr pr10">
                <span>Email：</span>
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtEmail" runat="server" CssClass="nameIpt" MaxLength="45" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="20%" class="tr pr10">
                <span>邮编：</span>
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtPostalCode" CssClass="nameIpt" runat="server" MaxLength="10"
                    Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="20%" class="tr pr10">
                <span>QQ：</span>
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtQQ" CssClass="nameIpt" runat="server" MaxLength="10" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="20%" class="tr pr10">
                <span>WebSite：</span>
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtWebSite" CssClass="nameIpt" runat="server" MaxLength="100" Width="200px"
                    Text="http://"></asp:TextBox>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
